package com.life.view
{
	import flash.display.Sprite;
	
	import com.life.vo.BrickVO;

	public class BaseBrickView extends Sprite
	{
		public var brickVO : BrickVO
		
		public function BaseBrickView()
		{
			super();
		}
		
		public function updatePos( ) : void {
			x = brickVO.posX;
			y = brickVO.posY;
		}
		
		public function updateGraph( ) : void {
			graphics.clear( );
			graphics.beginFill(0);
			graphics.drawRect(0,0,BrickVO.WIDTH,BrickVO.HEIGHT);
			graphics.endFill( );
		}

	}
}